﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace NK.Mvc3.Models
{
    public class StoreInputDetail
    {
        public int ID { get; set; }

        public int ProductInfoID { get; set; }
        public virtual ProductInfo ProductInfo { get; set; }

        public int StoreInputID { get; set; }
        public virtual StoreInput StoreInput { get; set; }

        public int Quantity { get; set; }

        [DisplayFormat(DataFormatString = "{0:d}")]
        public DateTime ExpireDate { get; set; }

        public int FreeQuantity { get; set; }

        [DisplayFormat(DataFormatString = "{0:#,###}")]
        public double CostInput { get; set; }

        [DisplayFormat(DataFormatString = "{0:#,###}")]
        public double TotalCost { get; set; }
    }
}